package com.itany.service;

import com.github.pagehelper.PageInfo;
import com.itany.pojo.Book;
import com.itany.pojo.ManagerUser;
import com.itany.vo.BookVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.FileNotFoundException;

/**
 * Author:梁辰
 * 时间:19-4-1 下午4:23
 * description:
 * version:1.0
 */
public interface BookService {
    public void addBook(Book book, ManagerUser user , MultipartFile file)throws FileNotFoundException;
    public PageInfo<BookVo> findBookByFuzzy(BookVo vo, Integer page, Integer rows);

    public void modifyEnFlagById(Book book);

    public void modifyDisFlagById(Book book);

    public void modifyById(Book book,MultipartFile file)throws FileNotFoundException;
}
